package com.panda.web.mapper.py;

import com.panda.web.entity.py.Area;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 地区Mapper接口
 * 
 * @author cpanda
 * @date 2025-02-27
 */
@Mapper
public interface AreaMapper extends BaseMapper<Area> {

    @Select("select  * from area  where parent_code=#{value}")
    List<Area> findByValue(String value);
}
